package org.example.zsbback.service;

import com.github.pagehelper.PageInfo;
import org.example.zsbback.entity.Book;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

@Transactional
public interface BookService {
    @Transactional(readOnly = true)
    PageInfo<Book> findAllBooks(int page, int limit,String name);
}
